.hear {

    background-color: aquamarine;
    margin-left: 0px;
    width: auto;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    border: 1px solid #000; /* 只是为了方便看到边界，可根据实际情况去*/
    overflow: hidden; /* 超出部分隐藏 */
}
.hear h1{
    position: absolute;
    font-size: 100px;

}
.hear img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 10px;
    object-fit: cover; /* 保持宽高比填充整个容器，超出部分裁剪 */
}
/* 导航栏样式 */
nav {
    background-color: #333;
    overflow: hidden;
}

nav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover {
    background-color: #555;
}

nav a.active {
    background-color: #4CAF50;
}

/* 内容区域样式 */
.content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.content.active {
    display: block;
}

/* 表格相关样式（可根据实际需求调整） */
table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}
